Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

125
Views
Move "review tab" to position output of product sharing on WooCommerce single product page

I want to change the position of the "review tab" to the position below the share button on the right

I removed the default "review tab" with this code and it worked

add_filter( 'woocommerce_product_tabs', 'maarra_remove_reviews_tab', 9999 );
 
function maarra_remove_reviews_tab( $tabs ) {
   unset( $tabs['reviews'] );
   return $tabs;
}

But I don't know how to re-add the "review tab" under the share button. Any advice?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

To change the position of the "review tab" to the position output of product sharing.

You can use:

// Remove
function filter_woocommerce_product_tabs( $tabs ) {
    unset( $tabs['reviews'] );
    
    return $tabs;
}
add_filter( 'woocommerce_product_tabs', 'filter_woocommerce_product_tabs', 100, 1 );

add_action( 'woocommerce_share', 'comments_template' );

OR

// Remove
function filter_woocommerce_product_tabs( $tabs ) {
    unset( $tabs['reviews'] );
    
    return $tabs;
}
add_filter( 'woocommerce_product_tabs', 'filter_woocommerce_product_tabs', 100, 1 );

add_action( 'woocommerce_single_product_summary', 'comments_template', 61 );
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!